package com.huike.clues.mapper;


import com.huike.clues.domain.dto.ClueTrackRecordDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 线索跟进记录Mapper接口
 *
 * @date 2021-04-19
 */
@Mapper
public interface TbClueTrackRecordMapper {
    /**
     * 线索跟进
     * @param clueTrackRecordDto
     * @return
     */
    int insertCluesRecord(ClueTrackRecordDto clueTrackRecordDto);
    int updateClues(ClueTrackRecordDto clueTrackRecordDto);

    /**
     * 跟进列表
     * @param clueId
     * @return
     */
    List<ClueTrackRecordDto>selectCluesRecord(Long clueId);


}
